package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/save")
    public String save(){
        System.out.println("save user");
        return "save success";
    }

    @GetMapping("/login")
    public String login(){
        System.out.println("login");
        System.out.println("小明和小马修改了登录功能");
        return "login success";
    }
}
